//
//  YWDownloadManager.h
//  videoTest3
//
//  Created by jun peng on 2022/7/21.
//

#import <Foundation/Foundation.h>
#import "YWDownloadStatus.h"

#import "Single.h"
NS_ASSUME_NONNULL_BEGIN

@interface YWDownloadManager : NSObject

//单例
SingleH(downloadManager)

//创建任务（传数组）
-(void)createDataTaskWithStatusArray:(NSArray <YWDownloadStatus *>*)statusArray;

//删除了一个任务
-(void)removeOneDataTaskWithStatus:(YWDownloadStatus *)status;

//继续一个任务
-(void)continueOneDataTaskWithStatus:(YWDownloadStatus *)status;

//暂停一个任务
-(void)pauseOneDataTaskWithStatus:(YWDownloadStatus *)status;




@end

NS_ASSUME_NONNULL_END
